#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>

#include "usb.h"
#include "wireless.h"

#define USBDEV_SHARED_VENDOR    0x03eb  
#define USBDEV_SHARED_PRODUCT   0x7614  

class WirelessLab {
 public:
  WirelessLab();
  ~WirelessLab();
  unsigned char RFgetdata(char addr,char protocol,char *buffer,int size,char index);
  unsigned char RFsetdata(char addr,char protocol,char *data,int size,char index);
  unsigned char RFfinddevice(char addr);
  bool RFUSBready();
 protected:
  usb_dev_handle *usbhandle;
  bool usb_ready;
};
